package com.intellagric.interfaces.file_storage;

import com.intellagric.common.bean.LayuiDataGridResult;
import com.intellagric.common.bean.ResponseMessage;
import com.intellagric.pojo.FileStorage;

public interface FileStorageService {
    ResponseMessage selectStorageById(String id);

    ResponseMessage insertStorage(FileStorage Storage);

    ResponseMessage deleteStorage(String id);

    ResponseMessage editStorage(FileStorage Storage);


    //查询菜单数据信息，生成树形菜单
    LayuiDataGridResult getMenu();

    //下面两个没有用到
    LayuiDataGridResult batchDeleteStorage(String[] ids);
    LayuiDataGridResult getStorageByKeyword(int page, int limit, String keyword);
}
